package com.hlkj.pay.infrastructure.model.finance;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 商户金额表
* @TableName t_merchant_amount
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_merchant_amount")
public class MerchantAmountDO extends BaseDO {

    /**
    * 商户商户号
    */
    @Schema(description = "商户商户号")
    private String sn;
    /**
    * 商户/代理余额
    */
    @Schema(description = "代理余额")
    private BigDecimal merchBalance;
    /**
    * 冻结金额
    */
    @Schema(description = "商户保证金/机构冻结金额")
    private BigDecimal frozenAmount;
    /**
    * 营销账户
    */
    @Schema(description = "营销账户")
    private BigDecimal marketAccount;
    /**
    * 手续费金额
    */
    @Schema(description = "手续费金额")
    private BigDecimal feeAmount;
    /**
    * 分润金额
    */
    @Schema(description = "分润金额")
    private BigDecimal profitAmount;
    /**
    * 在途金额
    */
    @Schema(description = "在途金额")
    private BigDecimal transitAmount;
    /**
    * 预存金额
    */
    @Schema(description = "预存金额")
    private BigDecimal depositAmount;
    /**
    * 商户类别 1 商户 2 代理商户
    */
    @Schema(description = "商户类别 1 商户 2 代理商户")
    private Integer snType;

}
